<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'

</script>

<template>
  <div>
    <RouterLink  to="/">首页</RouterLink>
    <RouterLink  to="/about">关于</RouterLink>
    <RouterLink  to="/news">新闻</RouterLink>
    <RouterLink  to="/sport">体育</RouterLink>
    <RouterLink  to="/demp">De</RouterLink>
    <RouterLink  to="/xin">作业</RouterLink>
    <RouterLink  to="/deng">登陆</RouterLink>
  </div>
  <RouterView />
</template>

<style scoped>
  a{margin-right: 20px;}
</style>
